]> dgit.raspbian.org Git - gnome-shell.git/commit
window-tracker: Also listen for changes in the gtk-application-id
authorJasper St. Pierre <jstpierre@mecheye.net>
Mon, 13 Oct 2014 00:20:22 +0000 (17:20 -0700)
committerJasper St. Pierre <jstpierre@mecheye.net>
Mon, 13 Oct 2014 00:20:22 +0000 (17:20 -0700)
commitaa3aea75201120226e04450aaf5d58115482031e
treee08a53cca44d128eefd18edf05a1f0609f169c9f
parent49fcc93a4b84fb3aeda6a5c5f4b1aa29aa4d7f51
window-tracker: Also listen for changes in the gtk-application-id

Wayland applications don't tend to have very useful WM Class properties,
as GTK+ isn't very good at picking an appropriate application ID. While
we should likely fix GTK+ to pick a better app ID, we do have the
existing gtk_shell for more accurate information. The only problem is
that the gtk_surface is set after the MetaWindow is constructed, and
we're not listening for changes on the GTK+ application ID.

Listen to changes on the GTK+ application ID to fix app tracking for
most GTK+ applications under Wayland.
src/shell-window-tracker.c